package com.healthysys.backend.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import pojo.entity.Role;

@Mapper
public interface RoleMapper extends BaseMapper<Role> {

    @Select("select id from role where role = #{Name}")
    Integer selectIdByRoleName(String Name);
}
